<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html> 
<head>
<title>Samples Index</title>
<link rel="stylesheet" type="text/css" href="../docs/rotor.css">
</head>
<body>		

<h1>Samples Index</h1>

 
<p>The following samples provide  examples of managed applications and tools that illustrate 
functionality in the Shared Source CLI (SSCLI).</p>

<p>You can build all the samples  at once by switching to the sscli20\samples
directory and running build.&nbsp; </p>
 
<p>You can build each individual sample by switching to the root directory of 
a sample and running build.</p>
 
<p>The samples below are grouped by directories.</p>
 
<h3>Root of samples Directory</h3>

 
  <table border="1" width="90%">
    <tr valign="top">
      <th width="33%">Sample</th>
      <th width="34%">Sample documentation</th>
      <th width="38%">Description</th>
    </tr>
    <tr valign="top">
      <td width="33%">
      <b>hello</b><p><a href="hello">samples\hello</a></td>
      <td width="34%"><a href="hello/hello.html">hello.html</a></td>
      <td width="38%">A simple Hello World program to test the functioning of the 
      SSCLI.</td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>helloxml</b><p><a href="helloxml">samples\helloxml</a></td>
      <td width="34%"><a href="helloxml/helloxml.html">helloxml.html</a></td>
      <td width="38%">A simple Hello World program to test the functioning of the 
      SSCLI and XML class libraries.</td>
    </tr>
  </table>


<h3>&nbsp;</h3>

 
<h3>samples\compilers Directory</h3>

 
  <table border="1" width="90%">
    <tr valign="top">
      <th width="33%">Sample</th>
      <th width="33%">Sample documentation</th>
      <th width="33%">Description</th>
    </tr>
    <tr valign="top">
      <td width="33%">
      <b>clisp</b><p><a href="compilers/clisp">compilers\clisp</a></td>
      <td width="33%"><a href="compilers/clisp/clisp.html">
      clisp.html</a></td>
      <td width="33%">A simple Lisp compiler, which compiles to common 
      intermediate language (CIL).</td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>myc</b><p><a href="compilers/myc">compilers\myc</a></td>
      <td width="33%"><a href="compilers/myc/myc.html">myc.html</a></td>
      <td width="33%">A sample C-subset language implemented using the CLI.</td>
    </tr>
  </table>


<h3>&nbsp;</h3>

 
<h3>samples\howto Directory</h3>

 
  <table border="1" width="90%">
    <tr valign="top">
      <th width="33%" height="16">Sample</th>
      <th width="33%" height="16">Sample documentation</th>
      <th width="33%" height="16">Description</th>
    </tr>
    <tr valign="top">
      <td width="33%" height="86">
      <b>StringFormat</b><p><a href="howto/basedatatypes/stringformat">
      howto\basedatatypes\stringformat</a></td>
      <td width="33%" height="86">
      <a href="howto/basedatatypes/stringformat/stringformat.html">
      stringformat.html</a></td>
      <td width="33%" height="86">Demonstrates various string formatting codes.&nbsp; The 
      user is allowed to input experimental format strings; the result of 
      applying a format string to sample text is output to the console.</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="57"><b>ListBuilder</b><p><a href="howto/codedom">howto\codedom</a></td>
      <td width="33%" height="57"><a href="howto/codedom/listbuilder.html">
      listbuilder.html</a></td>
      <td width="33%" height="57">Demonstrates how to use the code DOM to generate a strongly typed 
collection.</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="86"><b>Net GetResponse</b><p><a href="howto/net/getresponse">
      howto\net\getresponse</a></td>
      <td width="33%" height="86"><a href="howto/net/getresponse/getresponse.html">
      getresponse.html</a></td>
      <td width="33%" height="86">Demonstrates how to use the System.Net WebRequest and 
      WebResponse classes by getting HTML pages at a URL input by the user and 
      then outputting the URL to the console.</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="57"><b>Net UDPChat</b><p><a href="howto/net/udpchat">
      howto\net\udpchat</a></td>
      <td width="33%" height="57"><a href="howto/net/udpchat/udpchat.html">
      udpchat.html</a></td>
      <td width="33%" height="57">Demonstrates how to use the UDPClient class to create a chat client. </td>
    </tr>
    <tr valign="top">
      <td width="33%" height="57"><b>Reflection Emit</b><p><a href="howto/reflection/emit">
      howto\reflection\emit</a></td>
      <td width="33%" height="57"><a href="howto/reflection/emit/reflectionemit.html">
      reflectionemit.html</a></td>
      <td width="33%" height="57">Demonstrates how to use reflection emit.</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="57"><b>Reflection Invoke</b><p>
      <a href="howto/reflection/invoke">howto\reflection\invoke</a></td>
      <td width="33%" height="57"><a href="howto/reflection/invoke/reflectioninvoke.html">
      reflectioninvoke.html</a></td>
      <td width="33%" height="57">Demonstrates how to invoke different kinds of methods 
      through reflection.</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="57"><b>Regular Expressions</b><p>
      <a href="howto/regularexpressions">howto\regularexpressions</a></td>
      <td width="33%" height="57">
      <a href="howto/regularexpressions/regularexpressions.html">
      regularexpressions.html</a></td>
      <td width="33%" height="57">Demonstrates how to use the RegEx class and regular 
      expressions.</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="89"><b>Remoting</b><p><a href="howto/remoting/client">
      howto\remoting\client</a><br />
      <a href="howto/remoting/server">howto\remoting\server</a><br/>
      <a href="howto/remoting/shared">howto\remoting\shared</a></td>
      <td width="33%" height="89"><a href="howto/remoting/remoting.html">
      remoting.html</a></td>
      <td width="33%" height="89">Demonstrates various aspects of the 
      System.Runtime.Remoting namespace.&nbsp; </td>
    </tr>
    <tr valign="top">
      <td width="33%" height="70"><b>Managed Resources</b><p>
      <a href="howto/resources">howto\resources</a></td>
      <td width="33%" height="70">
      <a href="howto/resources/managedresources.html">
      managedresources.html</a></td>
      <td width="33%" height="70">Demonstrates how to use managed resources. 
      This sample allows the 
user to experiment with various options in creating and using managed resources 
and resource assemblies.</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="70"><b>Security Permissions</b><p>
      <a href="howto/security/permissions">howto\security\permissions</a></td>
      <td width="33%" height="70">
      <a href="howto/security/permissions/permissions.html">
      permissions.html</a></td>
      <td width="33%" height="70">Demonstrates how to use the Code Access 
      Security Policy tool to change machine-level settings, and how to create and 
      use a 
      custom permissions object.</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="57"><b>Serialization ISerializable</b><p>
      <a href="howto/serialization/iserializable">
      howto\serialization\iserializable</a></td>
      <td width="33%" height="57">
      <a href="howto/serialization/iserializable/iserializable.html">
      iserializable.html</a></td>
      <td width="33%" height="57">Demonstrates how to use the <b>ISerializable</b> 
      interface and XML serialization to customize the serialization of your own 
      objects.</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="57"><b>Serialization SimpleSerialize</b><p>
      <a href="howto/serialization/simpleserialize">
      howto\serialization\simpleserialize</a></td>
      <td width="33%" height="57">
      <a href="howto/serialization/simpleserialize/simpleserialize.html">
      simpleserialize.html</a></td>
      <td width="33%" height="57">Demonstrates how to serialize a graph of 
      objects using the serialization infrastructure and binary serialization.</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="55"><b>XML Schema</b><p>
      <a href="howto/xml/xmlschema">howto\xml\xmlschema</a></td>
      <td width="33%" height="55"><a href="howto/xml/xmlschema/xmlschema.html">
      xmlschema.html</a></td>
      <td width="33%" height="55">Demonstrates how to read an XML Schema 
      definition language (XSD) file into the Schema Object Model (SOM).</td>
    </tr>
    <tr valign="top">
      <td width="33%" height="22"><b>XML Transform</b><p>
      <a href="howto/xml/xmltransform">howto\xml\xmltransform</a></td>
      <td width="33%" height="22">
      <a href="howto/xml/xmltransform/xmltransform.html">
      xmltransform.html</a></td>
      <td width="33%" height="22">Demonstrates how to apply an Extensible Stylesheet Language 
Transformations (XSLT) file to an XML document using the XslTransform class. </td>
    </tr>
    <tr valign="top">
      <td width="33%" height="22"><b>XML Serialization</b><p>
      <a href="howto/xmlserialization">howto\xmlserialization</a></td>
      <td width="33%" height="22">
      <a href="howto/xmlserialization/xmlserialization.html">
      xmlserialization.html</a></td>
      <td width="33%" height="22">Demonstrates how to use the XSD utility and XML serialization to create 
in-memory objects that have been deserialized from XML files.</td>
    </tr>
  </table>


<p>&nbsp;</p>

 
<h3>samples\pigui Directory</h3>

 
  <table border="1" width="90%">
    <tr valign="top">
      <th width="33%">Sample</th>
      <th width="33%">Sample documentation</th>
      <th width="33%">Description</th>
    </tr>
    <tr valign="top">
      <td width="33%">
      <b>hello</b><p><a href="pigui/hello">pigui\hello</a></td>
      <td width="33%"><a href="pigui/hello/hello.html">hello.html</a></td>
      <td width="33%">Demonstrates a very simple program that uses the Tk wrapper 
classes.&nbsp; </td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>pigpad</b><p><a href="pigui/pigpad">pigui\pigpad</a></td>
      <td width="33%"><a href="pigui/pigpad/pigpad.html">
      pigpad.html</a></td>
      <td width="33%">A more advanced sample that uses the Tk wrapper assembly, 
      sharedsourcecli.tk.dll.&nbsp; Implements a simple Notepad editor.</td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>tk</b><p><a href="pigui/tk">pigui\tk</a></td>
      <td width="33%"><a href="pigui/tk/tk_wrapper.html">
      tk_wrapper.html</a></td>
      <td width="33%">A sample assembly that illustrates wrapping a dynamic link 
      library implemented in C. </td>
    </tr>
  </table>


<p>&nbsp;</p>

 
<h3>samples\utilities Directory</h3>

 
  <table border="1" width="90%">
    <tr valign="top">
      <th width="33%">Sample</th>
      <th width="33%">Sample documentation</th>
      <th width="33%">Description</th>
    </tr>
    <tr valign="top">
      <td width="33%"><b>codetohtml</b><p><a href="utilities/codetohtml">
      utilities\codetohtml</a></td>
      <td width="33%"><a href="utilities/codetohtml/codetohtml.html">
      codetohtml.html</a></td>
      <td width="33%">Creates a HTML file containing color-coded 
source code, in various languages including JScript and C#.</td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>corclass</b><p><a href="utilities/corclass">
      utilities\corclass</a></td>
      <td width="33%"><a href="utilities/corclass/corclass.html">
      corclass.html</a></td>
      <td width="33%">Searches assemblies for class names and return summary 
      information about the class if it is found.&nbsp; This tool extensively uses the 
System.Reflection functionality.</td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>crlf</b><p><a href="utilities/crlf">utilities\crlf</a></td>
      <td width="33%"><a href="utilities/crlf/crlf.html">
      crlf.html</a></td>
      <td width="33%">Reads a text file and analyzes all line termination in the file.</td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>getcliversion</b><p><a href="utilities/getcliversion">
      utilities\getcliversion</a></td>
      <td width="33%"><a href="utilities/getcliversion/getcliversion.html">
      getcliversion.html</a></td>
      <td width="33%">Supports viewing and changing the runtime 
      version number of an assembly. </td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>grep</b><p><a href="utilities/grep">utilities\grep</a></td>
      <td width="33%"><a href="utilities/grep/grep.html">
      grep.html</a></td>
      <td width="33%">Implements a simple grep text search sample 
      utility. </td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>typefinder</b><p><a href="utilities/typefinder">
      utilities\typefinder</a></td>
      <td width="33%"><a href="utilities/typefinder/typefinder.html">
      typefinder.html</a></td>
      <td width="33%">Provides the user with a command line 
      interface to provide information about types in their environment.</td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>wordcount</b><p><a href="utilities/wordcount">
      utilities\wordcount</a></td>
      <td width="33%"><a href="utilities/wordcount/wordcount.html">
      wordcount.html</a></td>
      <td width="33%">Introduces the base class 
      library. This sample shows how to create an application that opens multiple files 
      (specified on the command line) and counts each file's bytes, characters, 
      words, and lines.</td>
    </tr>
    <tr valign="top">
      <td width="33%"><b>xsd</b><p><a href="utilities/xsd">utilities\xsd</a></td>
      <td width="33%"><a href="utilities/xsd/xsd.html">xsd.html</a></td>
      <td width="33%">Generates XML schemas or managed classes 
from XDR, XML, and XSD files, or from classes in an assembly. </td>
    </tr>
  </table>


<br>

 

 
<p><i>Copyright (c) 2006 Microsoft Corporation. All rights reserved.</i><br>
&nbsp;</p>

 
</body> 
</html>